package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 创作级别管理对象 creation
 *
 * @author ruoyi
 * @date 2024-10-29
 */
public class Creation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 级别 */
    @Excel(name = "级别")
    private Long level;

    /** 等级标题 */
    @Excel(name = "等级标题")
    private String caption;

    /** 分成比例 */
    @Excel(name = "分成比例")
    private String proportional;

    /** 长视频上传数量 */
    @Excel(name = "长视频上传数量")
    private Long longvideo;

    /** 短视频上传数量 */
    @Excel(name = "短视频上传数量")
    private Long shortvideo;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setLevel(Long level)
    {
        this.level = level;
    }

    public Long getLevel()
    {
        return level;
    }
    public void setCaption(String caption)
    {
        this.caption = caption;
    }

    public String getCaption()
    {
        return caption;
    }
    public void setProportional(String proportional)
    {
        this.proportional = proportional;
    }

    public String getProportional()
    {
        return proportional;
    }
    public void setLongvideo(Long longvideo)
    {
        this.longvideo = longvideo;
    }

    public Long getLongvideo()
    {
        return longvideo;
    }
    public void setShortvideo(Long shortvideo)
    {
        this.shortvideo = shortvideo;
    }

    public Long getShortvideo()
    {
        return shortvideo;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("caption", getCaption())
            .append("proportional", getProportional())
            .append("longvideo", getLongvideo())
            .append("shortvideo", getShortvideo())
            .append("date", getDate())
            .append("status", getStatus())
            .toString();
    }
}
